<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>兴峰苗木</title>
    ﻿<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="/xf/Public/images/favicon.png">
<link rel='icon' href='favicon.ico' type='/xf/Public/image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="/xf/Public/css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/xf/Public/lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="/xf/Public/lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="/xf/Public/lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="/xf/Public/lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="/xf/Public/lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="/xf/Public/js/main.min.js"></script>
<script type="text/javascript" src="/xf/Public/layer/layer.js"></script>
</head>
<body>
    ﻿<header class="hd">
    <div class="cml-g">
        <div class="hd-left">
            <div class="hd-logo">
                <a href="#">
                    <img src="/xf/Public/images/logo.png" />
                </a>
            </div>
            <div class="hd-company">
                <strong>临沂兴峰苗木</strong>
                <span>www.sdlyxfmm.com</span>
            </div>   
        </div>
        <div class="hd-right">
            <!-- <a href="#">ENGLISH</a><i class="font">&#xe62b;</i><a href="#">中文</a> -->
            <h3>联系电话：18315675936（微信同号），QQ：1397415563</h3>
        </div>
    </div>
</header>

<div class="hd-nav">
    <button class="am-show-sm-only am-collapsed" data-am-collapse="{target: '.hd-navul'}">&#xe68b;</button>
    <nav>
        <ul class="hd-navul am-collapse" style="height: 0px;">
            <li class="on"><a href="<?php echo U('Index/index');?>" class="on1">首页</a></li>
            <li><a href="<?php echo U('About/index');?>" class="on1">关于我们</a></li>
            <li><a href="<?php echo U('News/index');?>" class="on1">新闻资讯</a></li>
            <li><a href="<?php echo U('Product/index');?>" class="on1">产品展示</a></li>
            <li><a href="<?php echo U('Lore/index');?>" class="on1">苗木知识</a></li>
            <li><a href="<?php echo U('Contact/index');?>" class="on1">联系我们</a></li>
        </ul>
    </nav>
</div>
<div class="am-cf"></div>
<div class="am-slider am-slider-default" data-am-flexslider="{playAfterPaused: 8000}">
    <ul class="am-slides">
        <?php if(is_array($banner)): foreach($banner as $key=>$b): ?><li style="height:600px;width:100%"><img src="<?php echo ($b['image']); ?>" height="600" /></li><?php endforeach; endif; ?>
    </ul>
</div>
    <div class="index-search">
        <div class="index-search-g">
            <div class="f-l">
                <span>
                    热门关键词：
                    <?php if(is_array($sort)): foreach($sort as $k=>$s): ?><a href="<?php echo U('Product/index',array('pr'=>$k));?>"><?php echo ($s['sort']); ?></a><?php endforeach; endif; ?>
                </span>
            </div>
            <!-- <div class="f-r">
                <input type="text" placeholder="请输入关键词搜索" />
                <button><i class="font">&#xe70b;</i>搜索</button>
            </div> -->
        </div>
    </div>
    <div class="index-new">
        <div class="cml-g">
            <div class="am-u-sm-12 am-u-md-4 am-u-lg-4">
                <div class="index-new-left">
                    <div class="cm-title">
                        <em><?php echo ($abo['title']); ?></em>
                    </div>
                    <div class="index-new-about">
                        <h1>
                            <?php echo mb_strimwidth($abo['content'],0,460,"...","utf-8");?>
                        </h1>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-8 am-u-lg-8">
                <div class="index-new-right">
                    <div class="cm-title">
                        <em>苗木知识</em>
                    </div>
                    <div class="index-new-tab">
                        <div class="am-tabs">
                            <ul class="am-tabs-nav am-nav am-nav-tabs">
                                <?php if(is_array($musort)): foreach($musort as $k=>$m): ?><li class="know1" data="<?php echo ($k); ?>"><a><?php echo ($m['sort']); ?></a></li><?php endforeach; endif; ?>
                                 <!-- class="am-active" -->
                            </ul>
                            <div class="am-tabs-bd" id="know">
                                 <!-- am-active -->
                                <?php if(is_array($musort)): foreach($musort as $k=>$m): ?><div class="am-tab-panel know2" data="<?php echo ($k); ?>">
                                        <div class="index-new-tab-main">
                                            <div class="am-u-sm-4 am-u-md-4 am-u-lg-5">
                                                <div class="index-new-tab-img">
                                                    <a href=""><img src="/xf/Public/images/tab.jpg" /></a>
                                                </div>
                                            </div>
                                            <div class="am-u-sm-4 am-u-md-4 am-u-lg-7">
                                                <div class="index-new-tab-list">
                                                    <ul>
                                                        <?php if(is_array($m['knowid'])): foreach($m['knowid'] as $key=>$s): ?><li><a href="<?php echo U('Lore/know_info',array('id'=>$s['id']));?>"><div class="am-u-sm-8 am-u-md-8 am-u-lg-8"><strong class="f-toe"><?php echo ($s['title']); ?></strong></div><div class="am-u-sm-4 am-u-md-4 am-u-lg-4  "><span>［<?php echo (date("Y-m-d",$s['time'])); ?>］</span></div></a></li><?php endforeach; endif; ?>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div><?php endforeach; endif; ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

<?php if(is_array($sort)): $i = 0; $__LIST__ = $sort;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$z): $mod = ($i % 2 );++$i;?><div class="index-product">
        <div class="cml-g">
            <div class="cm-title">
                <em><?php echo ($z['sort']); ?></em>
            </div>
            <div class="index-product-silder">
                <div class="am-slider am-slider-default am-slider-carousel"
                     data-am-flexslider="{itemWidth: 200, itemMargin: 5, slideshow: false}">
                    <ul class="am-slides">
                        <?php if(is_array($z['product'])): foreach($z['product'] as $key=>$a): ?><li><a href="<?php echo U('Product/product_info',array('id'=>$a['id']));?>"><img src="<?php echo ($a['image']); ?>" style="height:170px;"/><span class="f-toe"><?php echo ($a['product']); ?></span></a></li><?php endforeach; endif; ?>
                    </ul>
                </div>
            </div>
        </div>
    </div><?php endforeach; endif; else: echo "" ;endif; ?>
<link rel="stylesheet" type="text/css" href="/xf/Public/youce/youce.css">
    <div class="slide">
    <ul class="icon">
        <li class="up" title="上一页"></li>
        <li class="qq"></li>
        <li class="tel"></li>
        <li class="wx"></li>
        <li class="down" title="下一页"></li>
    </ul>
    <ul class="info">
        <li class="qq">
            <p>在线沟通，请点我<a href="http://wpa.qq.com/msgrd?v=3&uin=123456789&site=qq&menu=yes" target="_blank">在线咨询</a></p>
        </li>
        <li class="tel">
            <p>咨询热线：<br>400-800-8888<br>客服qq：<br>123456789</p>
        </li>
        <li class="wx">
            <div class="img"><img src="img/1441956938.png" /></div>
        </li>
    </ul>
</div>
<div id="btn" class="index_cy"></div>
<script type="text/javascript" src="/xf/Public/youce/youce.js"></script>
<script type="text/javascript">
    $(".know1").eq(0).addClass('am-active').siblings().removeClass('am-active');
    $(".know2").eq(0).addClass('am-active').siblings().removeClass('am-active');
    $(".know1").click(function(){
        var k = $(this).attr('data');
        $(this).addClass('am-active').siblings().removeClass('am-active');
        $(".know2").eq(k).addClass('am-active').siblings().removeClass('am-active');
    })
</script>
    ﻿<footer class="footer">
    <div class="cml-g" style="text-align: center;">
         <?php echo (htmlspecialchars_decode($qfooter['content'])); ?>
    </div>
  </footer>
<script type="text/javascript">
	var on = $('.on1');
	for(var i = 0;i < on.length;i++){
		if(on.eq(i).attr('href') == window.location.pathname){
			on.eq(i).parent().addClass('on').siblings().removeClass('on');
		}
	}
  $(function() {
    $("img").lazyload();
});
</script>
</body>
</html>